Skip to content

Remove _ENV_CONFIG and cached env config to config.py#3208

Open
jx2lee wants to merge 4 commits intoapache:mainfrom
jx2lee:jx2lee/remove-global-var
Open

Remove _ENV_CONFIG and cached env config to config.py#3208
jx2lee wants to merge 4 commits intoapache:mainfrom
jx2lee:jx2lee/remove-global-var

Conversation

@jx2lee
Copy link
Copy Markdown
Contributor

@jx2lee jx2lee commented Mar 30, 2026

Related #3028
and Related #3083

Rationale for this change

Move the cached environment config out of pyiceberg.catalog into pyiceberg.utils.config so catalog loading no longer depends on a module-level mutable global and tests can patch config access more cleanly.

Are these changes tested?

Yes, updated the affected catalog, CLI, and config tests.

Are there any user-facing changes?

No.

@jx2lee jx2lee force-pushed the jx2lee/remove-global-var branch from 68c1316 to 8789abe Compare March 31, 2026 11:37
@jx2lee jx2lee marked this pull request as ready for review March 31, 2026 13:26
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that's incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant